package com.ycz.master.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ycz.master.mapper.EmpTypeMapper;
import com.ycz.master.pojo.Emp;
import com.ycz.master.pojo.EmpType;
import com.ycz.master.service.EmpTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.annotation.AccessType;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * author zyc
 * Created on 2021/9/30 11:06
 */
@Service
public class EmpTypeServiceImpl extends ServiceImpl<EmpTypeMapper, EmpType> implements EmpTypeService {
    @Autowired
    private EmpTypeMapper mapper;

    @Override
    public List<EmpType> findall() {
        return mapper.selectList(null);
    }


}
